import network from './request'
import apiList from './apiList';

export const editUserCardInfo = (data, params) => {
    return network.request({
        url: apiList.relationship.editUserCardInfo,
        data,
        ...params
    });
}
export const getAddtionUsers = (data, params) => {
    return network.request({
        url: apiList.relationship.getAddtionUsers,
        data,
        ...params
    });
}
export const getPlatTypes = (data, params) => {
    return network.request({
        url: apiList.relationship.getPlatTypes,
        data,
        ...params
    });
}
export const getSquareUsers = (data, params) => {
    return network.request({
        url: apiList.relationship.getSquareUsers,
        data,
        ...params
    });
}
export const getUserCardInfo = (data, params) => {
    return network.request({
        url: apiList.relationship.getUserCardInfo,
        data,
        ...params
    });
}
export const passUserAddtion = (data, params) => {
    return network.request({
        url: apiList.relationship.passUserAddtion,
        data,
        ...params
    });
}
export const sendSmsCode = (data, params) => {
    return network.request({
        url: apiList.relationship.sendSmsCode,
        data,
        ...params
    });
}
export const userAddtionUser = (data, params) => {
    return network.request({
        url: apiList.relationship.userAddtionUser,
        data,
        ...params
    });
}
export const getAddtionUsersCnt = (data, params) => {
    return network.request({
        url: apiList.relationship.getAddtionUsersCnt,
        data,
        ...params
    });
}
export const getMapUsers = (data, params) => {
    return network.request({
        url: apiList.relationship.getMapUsers,
        data,
        ...params
    });
}
